﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XingFuStudio.Pioneer.Entity {
    /// <summary>
    /// 开心网好友信息实体类
    /// </summary>
    public class FriendInfo : UserInfo{
        /// <summary>
        /// 性别
        /// </summary>
        private Gender gender = Gender.UnKnow;

        /// <summary>
        /// 获取或设置性别
        /// </summary>
        public Gender Gender {
            get {
                return gender;
            }
            set {
                gender = value;
            }
        }

        /// <summary>
        /// 获取或设置性别中文描述
        /// </summary>
        public string GenderText {
            get {
                switch (this.gender) {
                    case Entity.Gender.Male:
                        return "男";
                    case Entity.Gender.FeMale:
                        return "女";
                    default:
                        return "未知";
                }
            }
        }
    }
}
